import request from '@/utils/request'

// 查询档案移交列表
export function listDTransfer(query) {
  return request({
    url: '/system/DTransfer/list',
    method: 'get',
    params: query
  })
}

// 查询档案移交详细
export function getDTransfer(id) {
  return request({
    url: '/system/DTransfer/' + id,
    method: 'get'
  })
}

// 新增档案移交
export function addDTransfer(data) {
  return request({
    url: '/system/DTransfer',
    method: 'post',
    data: data
  })
}

// 修改档案移交
export function updateDTransfer(data) {
  return request({
    url: '/system/DTransfer',
    method: 'put',
    data: data
  })
}

// 删除档案移交
export function delDTransfer(id) {
  return request({
    url: '/system/DTransfer/' + id,
    method: 'delete'
  })
}
